package org.zfes.snowier.zbss.xzy.face.enums;

public  enum DetectResultOrient {
	  ASF_OC_0(Integer.valueOf(1)),
	  ASF_OC_90(Integer.valueOf(2)),
	  ASF_OC_270(Integer.valueOf(3)),
	  ASF_OC_180(Integer.valueOf(4)),
	  ASF_OC_30(Integer.valueOf(5)),
	  ASF_OC_60(Integer.valueOf(6)),
	  ASF_OC_120(Integer.valueOf(7)),
	  ASF_OC_150(Integer.valueOf(8)),
	  ASF_OC_210(Integer.valueOf(9)),
	  ASF_OC_240(Integer.valueOf(10)),
	  ASF_OC_300(Integer.valueOf(11)),
	  ASF_OC_330(Integer.valueOf(12));
	  
	  private Integer value;
	  
	  DetectResultOrient(Integer value) {
	    this.value = value;
	  }
	  
	  public Integer getValue() {
	    return this.value;
	  }
	  
	  public static DetectResultOrient getValidEnum(Integer value) {
	    for (DetectResultOrient detectResultOrient : values()) {
	      if (detectResultOrient.getValue().equals(value))
	        return detectResultOrient; 
	    } 
	    return null;
	  }
	}